package io.renren.service;

import io.renren.entity.Count;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author Wayne Wang
 * @email dujc1018@gmail.com
 * @date 2018-09-19 10:57:58
 */
public interface CountService {

    Count queryObject(Long id);

    List<Count> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(Count count);

    void update(Count count);

    void delete(Long id);

    void deleteBatch(Long[] ids);

    void updateViews(Long videoId);
}
